<style>
.page-part .el-divider--vertical {
  display: inline-block;
  width: 5px;
  height: 18px;
  background-color:#409EFF;
}
.page-part .title {
  font-weight: bold;
  line-height: 18px;
  vertical-align: bottom;
}
.page-part .content {
  padding: 18px;
}

</style>
<template>

  <div class="page-part">
    <el-row>
      <el-divider direction="vertical"></el-divider>
      <span class="title">
        <slot name="title" :title="title">
          {{ title }}
        </slot>
      </span>
    </el-row>
    <el-row class="content" :style="{padding:padding+'px'}">
      <slot></slot>
    </el-row>
  </div>
</template>
<script>
export default {
  name: "PagePart",
  props:{
    title:{},
    padding:{
      type:Number,
      default:null
    }
  },
  data() {
    return {}
  },
  computed: {},
  created() {
  },
  watch: {},
  methods: {},

}
</script>